<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="js/room/RoomUtil.js"></script>
<script>
	var rectA = {
		"position" : {
			"x" : 100,
			"z" : 0
		},
		"size" : {
			"x" : 80,
			"z" : 60
		}
	};
	var rectB = {
		"position" : {
			"x" : 100,
			"z" : 0
		},
		"size" : {
			"x" : 100,
			"z" : 20
		}
	};
	console.warn(RoomUtil.checkRoomHasWall(rectA, rectB));

</script>